<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link href="/bootstrap/css/bootstrap.css" rel="stylesheet" media="screen">
<script type="text/javascript" src="/js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="/bootstrap/js/bootstrap.js"></script>
<title></title>
</head>
<body>
	<div class="container">
		<div class="btn-group">
			<button type="button" class="btn btn-default">Left</button>
			<button type="button" class="btn btn-default">Middle</button>
			<button type="button" class="btn btn-default">Right</button>
		</div>


		<br/><br/><br/>
		<p>按钮工具栏</p>
		<div class="btn-toolbar" role="toolbar">
			<div class="btn-group btn-group-md">
				<button type="button" class="btn btn-default">1</button>
				<button type="button" class="btn btn-default">2</button>
				<button type="button" class="btn btn-default">3</button>
			</div>
			<div class="btn-group btn-group-lg">
				<button type="button" class="btn btn-default">a</button>
				<button type="button" class="btn btn-default">b</button>
				<button type="button" class="btn btn-default">c</button>
			</div>
		</div>

		<br/><br/><br/>
		<div class="btn-group">
			<button type="button" class="btn btn-default">a</button>
			<button type="button" class="btn btn-default">b</button>
			<div class="btn-group">
				<button type="button" class="btn btn-default btn-lg dropdown-toggle" data-toggle="dropdown" id="my_menu">
					DROPDOWN
					<span class="caret"></span>
				</button>
				
				<ul class="dropdown-menu  dropdown-menu-left" role="menu" aria-labelledby="my_menu">
					<li role="presentation"><a role="menuitem" tabindex="-1" href="/ex/glyphicon.jsp">a</a></li>
					<li role="presentation" class="divider"></li>
					<li role="presentation" class="disabled"><a role="menuitem" tabindex="-1" href="/ex/demo.jsp">b</a></li>
					<li role="presentation" class="divider"></li>
					<li role="presentation"><a role="menuitem" tabindex="-1" href="#">c</a></li>
				</ul>
			</div>
			
			<br/><br/><br/>向上弹出式菜单
			<div class="btn-group dropup">
			  <button type="button" class="btn btn-default">DropUp</button>
			  <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
			    <span class="caret"></span>
			    <span class="sr-only">Toggle Dropdown</span>
			  </button>
			  <ul class="dropdown-menu" role="menu">
			   	<button type="button" class="btn btn-default">a</button>
				<button type="button" class="btn btn-default">b</button>
				<button type="button" class="btn btn-default">c</button>
			  </ul>
			</div>


			<br/><br/><br/>
			<div class="btn-group-vertical">
				<button type="button" class="btn btn-primary">primary</button>
				<button type="button" class="btn btn-success">success</button>
				<button type="button" class="btn btn-info">info</button>
				<button type="button" class="btn btn-warning">warning</button>
				<button type="button" class="btn btn-danger">danger</button>
			</div>
		</div>
		<h3>
			当为 .btn-group 中的元素应用工具提示或弹出框时，必须指定 container: 'body' 选项，<br/>
			这样可以避免不必要的副作用（例如工具提示或弹出框触发时，会让页面元素变宽和/或失去圆角）。
		</h3>
	</div>
</body>
</html>